home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gekkan Dennou Club 147
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan).7z
/
Gekkan Dennou Club - 2000.8 Vol. 147 (Japan) (Track 1).bin
/
docs
/
ippon
/
ver
/
050
/
makefile
< prev
next >
Wrap
Makefile
|
2000-07-07
|
2KB
|
56 lines
# makefile for ippon.x
CC = gcc
CFLAGS = -DDEBUG
#CFLAGS = -O -fomit-frame-pointer -fstrength-reduce -fforce-mem -fforce-addr -fcombine-regs
AS = has
LD = hlk
INC =
LIBS = libc.a libgnu.a libdos.a libiocs.a xsp2lib.o pcm8afnc.o
LZH = ippon050
vpath %.c ./;FuncEnemy/;FuncEffect/;
# .c ファイルはカレント又はここで指定したディレクトリに
%.o: %.c
$(CC) $(CFLAGS) -c $<
all: ippon.x maketbl.x
ippon.x: main.o player.o shot.o enemy.o eshot.o effect.o \
entry.o psearch.o gvram.o txfont.o sound.o zmcall.o \
zakoa.o zakob.o covern.o oplaser.o \
explzako.o expl.o explplayer.o points.o
$(LD) $^ -o $@ -l $(LIBS)
main.o: main.c main.h player.h shot.h enemy.h eshot.h effect.h entry.h psearch.h gvram.h txfont.h sound.h
player.o: player.c main.h player.h shot.h effect.h sound.h
shot.o: shot.c main.h player.h enemy.h shot.h sound.h
enemy.o: enemy.c main.h player.h enemy.h shot.h
eshot.o: eshot.c main.h player.h eshot.h
effect.o: effect.c main.h effect.h
entry.o: entry.c enemy.h entry.h sound.h
psearch.o: psearch.c player.h psearch.h
gvram.o: gvram.s
txfont.o: txfont.c txfont.h
sound.o: sound.c main.h zmcall.h
zmcall.o: zmcall.s
zakoa.o: FuncEnemy/zakoa.c FuncEnemy/../main.h FuncEnemy/../player.h FuncEnemy/../enemy.h FuncEnemy/../eshot.h FuncEnemy/../effect.h FuncEnemy/../psearch.h FuncEnemy/../sound.h
zakob.o: FuncEnemy/zakob.c FuncEnemy/../main.h FuncEnemy/../player.h FuncEnemy/../enemy.h FuncEnemy/../eshot.h FuncEnemy/../effect.h FuncEnemy/../psearch.h FuncEnemy/../sound.h
covern.o: FuncEnemy/covern.c FuncEnemy/../main.h FuncEnemy/../player.h FuncEnemy/../shot.h FuncEnemy/../enemy.h FuncEnemy/../eshot.h FuncEnemy/../effect.h FuncEnemy/../psearch.h FuncEnemy/../sound.h
oplaser.o: FuncEnemy/oplaser.c FuncEnemy/../main.h FuncEnemy/../player.h FuncEnemy/../shot.h FuncEnemy/../enemy.h FuncEnemy/../eshot.h FuncEnemy/../effect.h FuncEnemy/../psearch.h FuncEnemy/../sound.h
explzako.o: FuncEffect/explzako.c FuncEffect/../main.h FuncEffect/../effect.h
expl.o: FuncEffect/expl.c FuncEffect/../main.h FuncEffect/../effect.h
explplayer.o: FuncEffect/explplayer.c FuncEffect/../main.h FuncEffect/../effect.h
points.o: FuncEffect/points.c FuncEffect/../main.h FuncEffect/../effect.h
maketbl.x: maketbl.o
$(LD) $^ -o $@ -l $(LIBS)
dist:
LHA a -t ../$(LZH)